package io.renren.service;

import io.renren.entity.AppUpdateEntity;

import java.util.List;
import java.util.Map;

/**
 * @author wxy
 * @email sharonwang_xy@163.com
 * @date 2018-10-31 16:29:31
 */
public interface AppUpdateService {

    AppUpdateEntity queryObject(Integer id);

    List<AppUpdateEntity> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(AppUpdateEntity appUpdate);

    void update(AppUpdateEntity appUpdate);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    /**
     * 根据参数查询列表(无分页，无排序)
     *
     * @param map 参数
     * @return 列表
     */
    List<AppUpdateEntity> queryListByParam(Map<String, Object> map);
}
